Move documentation of gtk_ruler_set_range() to source and fix nonsense.
authorStefan Kost <stefkost@src.gnome.org>
Thu, 9 Aug 2007 12:58:25 +0000 (12:58 +0000)
committerStefan Kost <stefkost@src.gnome.org>
Thu, 9 Aug 2007 12:58:25 +0000 (12:58 +0000)
* docs/reference/gtk/tmpl/gtkruler.sgml:
* gtk/gtkruler.c:
Move documentation of gtk_ruler_set_range() to source and fix nonsense.

svn path=/trunk/; revision=18599

ChangeLog
docs/reference/gtk/tmpl/gtkruler.sgml
gtk/gtkruler.c

index 822bce716cbef453c20dc169ddb0a7aa015db6a3..3aaeb5f61e7b97f9f9583b82ed027e11a5947ba6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-09  Stefan Kost  <ensonic@users.sf.net>
+
+       * docs/reference/gtk/tmpl/gtkruler.sgml:
+       * gtk/gtkruler.c:
+       Move documentation of gtk_ruler_set_range() to source and fix nonsense.
+
 2007-08-08  Mikael Hallendal  <micke@imendio.com>
 
        * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
index 64e68d942828e555afd82f65e30c7101be63c318..0e2565388da46d79941b03f3ea03fe029c36381b 100644 (file)
@@ -89,14 +89,13 @@ is GTK_PIXELS.
 
 <!-- ##### FUNCTION gtk_ruler_set_range ##### -->
 <para>
-This sets the range of the ruler using gfloat lower, gfloat upper, gfloat position, and gfloat max_size. 
-</para>
 
-@ruler: the gtkruler
-@lower: the lower limit of the ruler
-@upper: the upper limit of the ruler
-@position: the mark on the ruler
-@max_size: the maximum size of the ruler
+</para>
+@ruler:
+@lower:
+@upper:
+@position:
+@max_size:
 
 
 <!-- ##### FUNCTION gtk_ruler_get_metric ##### -->
index 7e493f976bf26516c9d4af8c184d4fc44a41c7a0..d308ea3e1ba034f67bf4c3cd4ae37fe0969794d4 100644 (file)
@@ -259,6 +259,17 @@ gtk_ruler_get_metric (GtkRuler *ruler)
   return 0;
 }
 
+/**
+ * gtk_ruler_set_range:
+ * @ruler: the gtkruler
+ * @lower: the lower limit of the ruler
+ * @upper: the upper limit of the ruler
+ * @position: the mark on the ruler
+ * @max_size: the maximum size of the ruler used when calculating the space to
+ * leave for the text
+ *
+ * This sets the range of the ruler. 
+ */
 void
 gtk_ruler_set_range (GtkRuler *ruler,
                     gdouble   lower,